package com.softtown.modules.sys.dto;

import com.softtown.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 消息更新DTO
 *
 * @author fuming
 * @version v1.0
 * @create 2019-07-10 19:16
 **/
@Data
public class SysMessageUnreadDTO implements Serializable {

    @ApiModelProperty(value = "id")
    @NotNull(message = "{id.require}", groups = UpdateGroup.class)
    private Long id;
}

